tests: Don't inject newline in URL
authorColin Walters <walters@verbum.org>
Mon, 9 Jan 2017 01:44:20 +0000 (20:44 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 19 Jan 2017 10:47:15 +0000 (10:47 +0000)
commit56891f9d485ee064be3f8d40f64243e87b395da1
tree99ed76e5cd1b704aadd85c24ae459be58dd745ee
parente6952de3d67f8b9896cb15ffa31f50b4e0758714
tests: Don't inject newline in URL

It turns out libsoup strips all whitespace even *inside* a URL. We could do that
for libcurl too but...really, people shouldn't do that. In this test we were
adding the trailing newline into the URL. If someone complains who is using the
libcurl code we can deal with it then.

Closes: #651
Approved by: giuseppe
tests/test-pull-c.c